<template>
<div class="person">
    <h2>我是弟级组件</h2>
    <h2>我有{{money}}元</h2>
    <button @click="$bus.$emit('wan',money)">点击以后传给兄级组件钱</button>
</div>
</template>
<script>
export default {
    name:"Children2",
    data(){
        return{
            money:100,
        }
    }
}
</script>

<style>
.person{
    background: skyblue;
    padding: 10px;
}
</style>